import time
from datetime import datetime


def conversionDataBaseTime(datatime):
    datetime_obj = datetime.strptime(datatime, "%d%m%y%H%M%S.%f")
    conversionTime = int(time.mktime(datetime_obj.timetuple()) * 1000.0 + datetime_obj.microsecond / 1000.0)
    return conversionTime
